package com.ctsi.ssdc.entity.Excel08VO;

import com.ctsi.ssdc.annocation.AutoId;
import com.ctsi.ssdc.util.LongtoStringSerialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class Excel15VO implements Serializable {

    private static final long serialVersionUID = -34964697778724027L;
    /**
     * 序列号
     */
    @AutoId(primaryKey = "id")
    @JsonSerialize(using = LongtoStringSerialize.class)
    private Long id;
    /**
     * 行业名称
     */
    private String sectorname;
    /**
     * 单位名称
     */
    private String name;
    /**
     * 本期当月
     */
    private Double currentmonth;
    /**
     * 同期当月
     */
    private Double previousmonth;
    /**
     * 本期累计
     */
    private Double currentaccumulate;
    /**
     * 同期累计
     */
    private Double previousaccumulate;
    /**
     * 当月同比
     */
    private Double monthonmonth1;
    /**
     * 累计同比
     */
    private Double monthonmonth2;
    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM")
    private Date statisticalTime;

}
